package com.zhejiangzhengyuan.municipal_common.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author :linju
 * @create on : 2019/12/16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ReceiptCaseDto", description="用于对案件回执的实体类")
public class ReceiptCaseDto {



     @ApiModelProperty(value = "案件cid")
     @NotNull
     private Long cid;

     @ApiModelProperty(value = "案件的的回执内容")
     @NotBlank
     private String context;

     @ApiModelProperty(value = "回执人的ID")
     @NotNull
     private Integer receipt_user_info_id;

     @ApiModelProperty(value = "回执问题的具体的原因")
     @NotBlank
     private  String matterReason;

     @ApiModelProperty(value = "回执关联的文件")
     private MultipartFile file;

}
